package com.tengroup.service;

import com.tengroup.entity.ExampaperEntity;
import com.tengroup.entity.ExampaperepEntity;
import com.tengroup.entity.Question;
import com.tengroup.entity.RuleEntity;
import com.tengroup.vo.Answervo;
import java.util.List;

public interface ExamService {
    void save(RuleEntity rule) ;
    List<Question> selectQuestionsByRule(RuleEntity rule);
    List<Question> findbyconditions(String question_type,String difficulty,Integer subject_id,int limit);
    ExampaperEntity setanswer(Answervo answervo);

    List<ExampaperepEntity> findbyexampaperid();

    ExampaperEntity judge(int i);
}
